import wx
import time
from DataManager import DataManager
from SimplePanels import PanelWish
from SimpleDialogs import DialogAddItem
from ControlWishList import ControlWishList
from ModelWishList import ModelWishList
from ViewBaseList import ViewBaseList

class ViewWishList(ViewBaseList):
    """
    this is the view part of wish list window
    """
    
    EDIT_DEFAULT_VALUE = "Add new wish to the list and press enter"
    EDIT_MODE =  DialogAddItem.WISHLIST_MODE
    
    def __init__(self, parent):
        ViewBaseList.__init__(self, parent)

    def get_model_class(self):
        return ModelWishList

    def get_model(self):
        return DataManager.wishlist

    def get_control_class(self):
        return ControlWishList

    def get_panel_class(self):
        return PanelWish

